package com.juyu.reader.pc.model;

import java.util.Date;
/**
 * 用户表
 * @author wbf
 * 2019年6月3日
 */
public class User extends Page {
	private int userId;//用户id
	private int roleId;
	private int userStatus;// 用户状态：（0默认用户，-1冻结用户，1正常用户）
	private String userName;//用户姓名
	private String userNickname;//用户昵称
	private String userAccount;//用户账号
	private String userNo;// 用户客户号
	private String userPassword;//用户密码
	private String userOldPassword;
	private String userPhone;//用户电话
	private int userLevel;//用户等级
	private int userScore;//用户积分
	private int userGold;//用户金币
	private int userTicketRecom;//用户推荐票
	private int userTicketMonth;//用户月票
	private int userType;// 用户类型：（0默认，1官方手机号注册，2微信，3qq，4微博）
	private int userGender;// 用户性别（默认0，0未设置，1男，2女）
	private int userPlatform;// 用户平台：（0默认 ，1web平台 ，2ios平台 ，3android平台，4pc平台）
	private String userAccessToken;// 当用户为第三方登录时的accessToken
	private String userOpenId;// 当用户为第三方登录时的openId
	private String userUnionId;// 第三方登录时的unionid
	private String userRelationId;// 等待手动关联的用户openid（兼容旧用户数据）
	private int userIsUnion;// 是否使用统一用户id（兼容旧用户数据）
	private String userChannelNo;//用户渠道号
	private String userChannelName;
	private String userImage;//用户头像
	private int userImageType;//用户头像类型：默认0，0官方图片上传，1第三方平台图片链接
	private Date userDate;//用户注册时间

	// 用户注册信息
	private String userValidateCode;

	// 用户设置信息
	private int configureId;
	private String secretId;
	private String secretKey;
	// 用户cookie登录
	private String cookieToken;

	private String beginDate;
	private String endDate;

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public int getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(int userStatus) {
		this.userStatus = userStatus;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserNickname() {
		return userNickname;
	}

	public void setUserNickname(String userNickname) {
		this.userNickname = userNickname;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getUserNo() {
		return userNo;
	}

	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getUserOldPassword() {
		return userOldPassword;
	}

	public void setUserOldPassword(String userOldPassword) {
		this.userOldPassword = userOldPassword;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public int getUserLevel() {
		return userLevel;
	}

	public void setUserLevel(int userLevel) {
		this.userLevel = userLevel;
	}

	public int getUserScore() {
		return userScore;
	}

	public void setUserScore(int userScore) {
		this.userScore = userScore;
	}

	public int getUserGold() {
		return userGold;
	}

	public void setUserGold(int userGold) {
		this.userGold = userGold;
	}

	public int getUserTicketRecom() {
		return userTicketRecom;
	}

	public void setUserTicketRecom(int userTicketRecom) {
		this.userTicketRecom = userTicketRecom;
	}

	public int getUserTicketMonth() {
		return userTicketMonth;
	}

	public void setUserTicketMonth(int userTicketMonth) {
		this.userTicketMonth = userTicketMonth;
	}

	public int getUserType() {
		return userType;
	}

	/**
	 * 0默认，1官方手机号注册，2微信，3qq，4微博
	 * 
	 * @param userType
	 */
	public void setUserType(int userType) {
		this.userType = userType;
	}

	public int getUserGender() {
		return userGender;
	}

	public void setUserGender(int userGender) {
		this.userGender = userGender;
	}

	public int getUserPlatform() {
		return userPlatform;
	}

	public void setUserPlatform(int userPlatform) {
		this.userPlatform = userPlatform;
	}

	public Date getUserDate() {
		return userDate;
	}

	public void setUserDate(Date userDate) {
		this.userDate = userDate;
	}

	public int getConfigureId() {
		return configureId;
	}

	public void setConfigureId(int configureId) {
		this.configureId = configureId;
	}

	public String getSecretId() {
		return secretId;
	}

	public void setSecretId(String secretId) {
		this.secretId = secretId;
	}

	public String getSecretKey() {
		return secretKey;
	}

	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}

	public String getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getUserValidateCode() {
		return userValidateCode;
	}

	public void setUserValidateCode(String userValidateCode) {
		this.userValidateCode = userValidateCode;
	}

	public String getUserAccessToken() {
		return userAccessToken;
	}

	public void setUserAccessToken(String userAccessToken) {
		this.userAccessToken = userAccessToken;
	}

	public String getUserOpenId() {
		return userOpenId;
	}

	public void setUserOpenId(String userOpenId) {
		this.userOpenId = userOpenId;
	}

	public String getUserChannelNo() {
		return userChannelNo;
	}

	public void setUserChannelNo(String userChannelNo) {
		this.userChannelNo = userChannelNo;
	}

	public String getUserChannelName() {
		return userChannelName;
	}

	public void setUserChannelName(String userChannelName) {
		this.userChannelName = userChannelName;
	}

	public String getUserImage() {
		return userImage;
	}

	public void setUserImage(String userImage) {
		this.userImage = userImage;
	}

	public String getUserUnionId() {
		return userUnionId;
	}

	public void setUserUnionId(String userUnionId) {
		this.userUnionId = userUnionId;
	}

	public String getUserRelationId() {
		return userRelationId;
	}

	public void setUserRelationId(String userRelationId) {
		this.userRelationId = userRelationId;
	}

	public int getUserIsUnion() {
		return userIsUnion;
	}

	public void setUserIsUnion(int userIsUnion) {
		this.userIsUnion = userIsUnion;
	}

	public String getCookieToken() {
		return cookieToken;
	}

	public void setCookieToken(String cookieToken) {
		this.cookieToken = cookieToken;
	}

	public int getUserImageType() {
		return userImageType;
	}

	public void setUserImageType(int userImageType) {
		this.userImageType = userImageType;
	}

}
